package model;

public class RedWine { // 红酒类 完成人:姜凯严 6/30
    private int redWineId;
    private String name;
    private int stock;
    private double price;
    private String country;
    private String city;
    private String county;

    // 构造方法、getter和setter
    public RedWine() {}

    public RedWine(int redWineId, String name, int stock, double price, String country, String city, String county) {
        this.redWineId = redWineId;
        this.name = name;
        this.stock = stock;
        this.price = price;
        this.country = country;
        this.city = city;
        this.county = county;
    }

    public int getRedWineId() { return redWineId; }
    public void setRedWineId(int redWineId) { this.redWineId = redWineId; }

    public String getName() { return name; }
    public void setName(String name) { this.name = name; }

    public int getStock() { return stock; }
    public void setStock(int stock) { this.stock = stock; }

    public double getPrice() { return price; }
    public void setPrice(double price) { this.price = price; }

    public String getCountry() { return country; }
    public void setCountry(String country) { this.country = country; }

    public String getCity() { return city; }
    public void setCity(String city) { this.city = city; }

    public String getCounty() { return county; }
    public void setCounty(String county) { this.county = county; }
}
